package com.cw.demo.mybatisplus.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cw.demo.mybatisplus.mapper.UserMapper;
import com.cw.demo.mybatisplus.model.UserDo;
import com.cw.demo.mybatisplus.service.IUserService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户信息 服务实现类
 * </p>
 *
 * @author chenw
 * @since 2021-01-15
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, UserDo> implements IUserService {
    @Override
    public List<UserDo> findAllUser() {
        return getBaseMapper().findAllUser();
    }
}
